package forum.server.persistence;

import forum.server.exceptions.DatabaseException;
//import forum.server.persistence.old.DataManipulator;

public class DataManipulatorProxy {
	public static DataManipulatorInt dm=null;
	public static DataManipulatorInt getInstance() throws DatabaseException{
		if (DataManipulatorProxy.dm == null){
			//DataManipulatorProxy.dm=DataManipulator.getInstance();
			DataManipulatorProxy.dm=new HibernateSqlDataManipulator();
        	return DataManipulatorProxy.dm;
        }
        else
            return DataManipulatorProxy.dm;
	}
}
